/*
 * @Description: 
 * @Version: 2.0
 * @Author: cxc
 * @Date: 2022-03-30 11:27:47
 * @LastEditors: cxc
 * @LastEditTime: 2022-04-01 09:22:44
 */
import React from 'react'
import { } from 'antd'
import ComButton from '../ComButton'
import { btnLinkColor, addBtnColor } from './../../../views/employee/color/employeeColor'

export default function EmployeeConTiltle(props) {
  const { title1, title2, handleClick } = props
  return (
    <>
      <ComButton type='primary' btnName={title1} size='middle' BCcolor={btnLinkColor} />
      <span style={{ width: '2px', height: '10px', display: 'inline-block' }}></span>
      <ComButton type='primary' btnName={title2} size='middle' handleClick={handleClick} BCcolor={addBtnColor} />
    </>
  )
}
